@echo off
rem @version $Revision: 2780 $ ($Author: skarzhevskyy $)  $Date: 2009-02-21 18:12:16 +0000 (Sat, 21 Feb 2009) $
rem helper to run maven2
rem
if not defined MAVEN_OPTS  set MAVEN_OPTS=-Xmx256M

rem call mvn clean
rem @if errorlevel 1 goto errormark

rem call mvn clean deploy -P build,build-snapshot
rem @if errorlevel 1 goto errormark

call mvn deploy site-deploy -P build
@if errorlevel 1 goto errormark
@goto endmark
:errormark
	@echo Error in build
    pause
:endmark
